package com.blb.pojo;


import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;


@Data
@AllArgsConstructor
@NoArgsConstructor
public class Topic {

  private String id;
  private String message;
  private String image;
  private LocalDateTime time;
  private String userId;
  private Long num;

  public Topic(String id, String message, String image, LocalDateTime time, String userId) {
    this.id = id;
    this.message = message;
    this.image = image;
    this.time = time;
    this.userId = userId;
  }
}
